    function window_get_Window () {
    	return window;
    }
    function window_getCustomEvent(type, params) {
    	return new CustomEvent(type, {detail:params});
    }